package com.open.capacity.reimburse.service;

import com.open.capacity.reimburse.entity.BillFeeProjectAssign;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;

/**
 * 报销费用项目分配
 *
 * @author
 * @email
 * @date 2021-11-24 14:28:09
 */
public interface BillFeeProjectAssignService {
    /**
     * 添加
     *
     * @param billFeeProjectAssign
     */
    int save(List<BillFeeProjectAssign>  assigns);


    /**
     * 删除
     *
     * @param processId
     */
    int deleteByProcessId(String processId);


    /**
     * 查询记录
     *
     * @param processId
     * @return
     */
    List<BillFeeProjectAssign> findByProcessId(String processId);

    /**
     * 分页
     *
     * @param params
     * @return
     */
    PageResult<BillFeeProjectAssign> pageAll(Map<String, Object> params);

    /**
     * 列表
     *
     * @param params
     * @return
     */
    List<BillFeeProjectAssign> findAll(Map<String, Object> params);
}

